using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace Obsady
{
    class CTextBoxLogger : ILogger
    {
        TextBox _textBox;
        public CTextBoxLogger(TextBox textBox)
        {
            _textBox = textBox;
        }

        public override void Log(object who,string aStr)
        {
            _textBox.Text += aStr;
            _textBox.Text += "\n";
        }
    }
}
